import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';

void showToast(String msg, {ToastGravity? gravity = ToastGravity.CENTER}) {
  Fluttertoast.showToast(
    msg: msg,
    gravity: gravity,
    backgroundColor: const Color.fromRGBO(0, 0, 0, 0.45),
    textColor: Colors.white,
  );
}
